#include "StdAfx.h"
#include "SysModuleState.h"


CSysModuleState::CSysModuleState(AFX_MODULE_STATE* hModuleOld)
{
	m_pModuleState = AfxGetModuleState();;
	ASSERT (m_pModuleState != NULL);

	AfxSetModuleState(hModuleOld);
}


CSysModuleState::~CSysModuleState(void)
{
	AfxSetModuleState(m_pModuleState);
}
